﻿namespace Domain
{
//    create table PurchaseItem
//(
//    ID int not null primary key,
//    PurchaseID int not null references Purchase (ID),
//	Detail varchar(30) not null,
//	Price decimal not null
//)

    public class PurchaseItem
    {
        public int ID { get; set; }
        public string Detail { get; set; }
        public decimal Price { get; set; }
        public int PurchaseID { get; set; }
        public virtual Purchase Purchase { get; set; }
    }
}